package com.sskj.api.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "角色绑定多用户请求类")
public class RoleBindUserIdsRep {

    @NotNull(message = "角色不能为空")
    @Schema(description = "角色ID")
    private Long roleId;

    @NotNull(message = "用户集合不能为空")
    @Schema(description = "用户ID集合")
    private List<Long> userIds;
}
